G .NET Code Examples
This appendix includes code examples of typical database access tasks in ADO.NET using the Microsoft .NET Framework 1.x. All of the examples are written in C#.
You must modify the connection strings in the examples to work in your environment. All of the examples include calls to MessageBox, which is in the System.Windows.Forms namespace.